-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
That's the races out of our test suite! #5384
Conversation
Also actually run the mobile driver during tests
d1bbb2a
to
7d5fb07
Compare
Oh man, so many races not detected on my local setup :( |
InMemoryPreferences will need to avoid using a goroutine here |
Good catch thanks. Fixed |
OK, some platforms are now not detecting any races, so I have enabled it on the rest and working through what I hope is the last few!!! |
Use new RunFromGoroutine API here - https://github.com/fyne-io/fyne/blob/develop/app/settings_desktop.go#L48 |
@Jacalz It seems we may need to remove or update the new pool_test. I think |
Good point, the contract includes this on
So I have removed the Set/Get test - but the Get on empty and the replacement New tests should both be OK. |
Thanks - fixed. I left the delay as there was a bug reported about file write delay but then it joins back to main now |
PASS!!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. This is massively impressive. Well done! I left some notes and questions in-line :)
I am getting a strange compile failure on Linux when building
Will clean my caches and restart the computer to see if it is some corrupt thing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting the same error on develop now for some reason. Anyway, this looks great 👍
Working perfectly locally, let's see what CI says!
Progresses #4654
Checklist: